package com.mrd.gtimpframe.quartz.job;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.mrd.gtimpframe.service.ProtocolService;

/**
 * Created by dusy on 2017/9/8.
 */
@Component
public class ProtocolUniteEffective {
  @Resource
  private ProtocolService protocolService;

  public void execute() {
    // 更新协议状态
    protocolService.updateAllUniteToEctStatus();
  }
}
